package com.jtmg.glorykingsnews.service;

import com.github.pagehelper.PageInfo;
import com.jtmg.glorykingsnews.domain.TbManager;
import com.jtmg.glorykingsnews.vo.commom.LayuiReturnVo;
import com.jtmg.glorykingsnews.vo.commom.MsgVo;
import com.jtmg.glorykingsnews.vo.manager.ManagerQuery;
import com.jtmg.glorykingsnews.vo.manager.ManagerVo;
import com.jtmg.glorykingsnews.vo.manager.ManagerVoForQuery;

import javax.servlet.http.HttpServletRequest;

public interface TbManagerService{

    MsgVo loginSuper(ManagerVo vo);

    String loginManager(ManagerVo vo, HttpServletRequest request);

    MsgVo<TbManager> registerManager(ManagerVo vo);

    MsgVo deleteManager(String id);

    LayuiReturnVo<ManagerVoForQuery> queryManager(ManagerQuery query);

}
